package com.message.api.base.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.message.api.base.entity.EnAttachment;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author mzl
 * @since 2020-07-17
 */
public interface EnAttachmentMapper extends BaseMapper<EnAttachment> {

    /**
     * 根据识别码获取文件实体
     *
     * @param code
     * @return
     */
    EnAttachment findByCode(String code);

}
